home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 November / Software of the Month Club 1996 November.iso / pc / dos / sri / edu / soa / dbase.exe / README.TXT < prev    next >
Encoding:
Text File  |  1995-08-17  |  15.3 KB  |  331 lines

  1.                                    DBASE.EXE
  2.                           (An Electronic Address Book)
  3.  
  4.                                       by
  5.  
  6.                                Alfred D'Attore
  7.  
  8.  
  9. Command DB to get into the program.  Thereafter, prompts will guide the user.
  10. A sample file called "add," (lower case add), is offered with names and
  11. addresses in the proper order and position.  The user may add to this file,
  12. and at some later time, delete the unwanted information.  For detailed
  13. procedures, three extensive "DB" files are included, that is --
  14.  
  15.      DB.SAM, written with AmiPro.
  16.  
  17.      DB.WP, written with WordPerfect for Windows.
  18.  
  19.      DB.DOC, written with MicroSoft Word for Windows..
  20.  
  21. The information provided above is included below in pure ASCII.
  22.  
  23.  
  24.  
  25.                              DB -- DATA-BASE PROGRAM
  26.  
  27.         OVERVIEW
  28.          
  29.              DB is a very fast, file storage and retrieval program that is 
  30.         MENU driven, easy-to-use and absolutely free of charge.  Having the
  31.         capacity to store 1500 records, it makes a fine "address book." In
  32.         fact, a sample is included herein, one from which records can easily
  33.         be deleted, and to which records can just as easily be added.
  34.                          
  35.         TYPICAL USE
  36.          
  37.                   Do you wish to create a file? n  (yes)   ENTER
  38.          
  39.                   file name?  (test)   ENTER
  40.          
  41.                   number of records?  (20)   ENTER
  42.          
  43.                   Comment:  the number is low to speed the operation.
  44.          
  45.                   Input number of fields per record?  (5)   ENTER
  46.          
  47.                   Comment:  20 fields are maximum.
  48.          
  49.              But five fields were requested, so the system asks in turn 
  50.         for five field names and the number of characters to be reserved 
  51.         for each field:
  52.          
  53.                   field 1?  (last name,15)   ENTER
  54.          
  55.                   field 2?  (first name,15)   ENTER
  56.          
  57.                   field 3?  (st. address,25)   ENTER
  58.          
  59.                   field 4  (city/st/zip,25)   ENTER
  60.          
  61.                   field 5  (tel. number, 12)   ENTER
  62.          
  63.         The user should note that this is the format for the sample file.
  64.         Looking ahead, and anticipating a print out of records, the
  65.         recommendations given above are -- substantially -- the maximum
  66.         characters allowable for straight ASCII, "elite Type," (96 
  67.         characters per line).  The "allowable" for "pica Type," 80 
  68.         characters per line, is 78.  If these limitations are met, DB 
  69.         will automatically print one record per line.  Otherwise, the 
  70.         program will print each record in its entirety, one field per 
  71.         line.
  72.          
  73.              At this point, the program together with the built-in 
  74.         disk-operating system, sets aside reserved space on the disk for 
  75.         the requested file.  When the task is complete, the program goes 
  76.         directly to the "MENU."
  77.          
  78.          
  79.              The following information applies to all sessions, whether 
  80.         starting a new file -- as above -- or accessing and/or modifying 
  81.         an old file.
  82.          
  83.         MENU
  84.          
  85.                              File Access
  86.          
  87.                        Type 'q' for quit
  88.        
  89.                        Type 'd' for directory
  90.          
  91.                        Type 's' for sort
  92.          
  93.                        Type 'a' for adding a record
  94.          
  95.                        Type 'c" for configuration, printer
  96.  
  97.                        Type 'p' for printing records
  98.          
  99.                        Type 'l' for looking at records
  100.          
  101.                        Type 'dos' for MS-DOS  (Type 'EXIT' to return.)
  102.          
  103.                        code? *
  104.          
  105.                   Note!  Except for calling a file directly by name, 
  106.         only lower case letters are used above.
  107.          
  108.                   'c' is for configuring a printer.  Output is set for 
  109.         HP PCL-4 and related printers.  But a number of printers are 
  110.         accomodated; listings provided.  One may choose a particular 
  111.         printer or one which is known to be compatible.  If none of the 
  112.         listed printers will serve, the program provides for 
  113.         user-configuration.  That is; armed with the applicable printer 
  114.         manual, the user inputs eleven printer-codes to the program, 
  115.         "USERP.PRN."  Toward this end, DB is amply prompted or is 
  116.         otherwise self-explanatory.
  117.          
  118.                   'q' is for quitting the program.  This is the only 
  119.         proper way to exit, since it closes all files and releases all 
  120.         peripherals for later use.
  121.          
  122.                   'd' is for the directory.  It will list on the screen 
  123.         or on paper all the key fields of the file.  (The user can stop 
  124.         a "screen" presentation by pressing the space bar.  Pressing it 
  125.         again will recommence the scroll.)
  126.          
  127.                   's' is for sort which can be alphabetizing or sorting 
  128.         by number.  Alphabetizing is a downward sort.  "High score" 
  129.         sorting is upward; (as -- for example -- sorting by year, for 
  130.         tax purposes).  The user chooses the direction.   This program 
  131.         employs a very efficient sort algorithm.  Even with 750 records 
  132.         and second level sorting, (which is automatic, incidentally), 
  133.         the job is finished in seconds.  The user is informed when the 
  134.         sort is complete.
  135.          
  136.                   'a' is for adding a record.  The fields will be listed 
  137.         with assigned names one after the other.  The user merely fills 
  138.         in the appropriate information.  As an aid to the user, a 
  139.         lighted horizontal bar will appear above the entry point to 
  140.         indicate how much space is available for the particular entry.  
  141.         If by chance, one enters more than the allowable amount, the 
  142.         program will automatically reject the entry and revert to the 
  143.         beginning of the field.  Another attempt can then be made.  All 
  144.         fields are supplied with "default" entries; the symbols "@."  
  145.         "Null" entries create problems.  Go ahead and just hit the 
  146.         return key if no entry is required.  The program will 
  147.         automatically enter its own "null" string for that field.  Note! 
  148.         Commas and semi-colons cannot be used within field-entries.  
  149.         Commas and semi-colons are "delimiters," recognised by the 
  150.         computer as markers to separating entries.
  151.          
  152.                   'p' is the option for printing records and is 
  153.         screen-prompted in great  detail.  Courier typeface is asssumed
  154.         in all print operations, since it is universally available and
  155.         provides for "one character," per space (making "spacing" entirely
  156.         predictable.  For example, 80 characters per line for Pica and 96
  157.         characters per line for Elite; a rather typical "ASCII" setup.
  158.         The user may print out the whole file or a specifically designated
  159.         portion thereof.  Formatting and paging are automatic.  If the
  160.         chosen fields for the records can fit on single lines, the records
  161.         are listed one per line.  If single fields are chosen, (for example,
  162.         names only), the program will automatically set them down one next
  163.         to the other, two or three abreast, with appropriate spacing.  One
  164.         can specify a heading if one wishes.  Make it simple and remember,
  165.         it will be "left justified"  If more than one page is required for
  166.         a particular printing session, the program will automatically number
  167.         succeeeding pages and provide a repeat of the heading.  One line is
  168.         skipped after every five lines of single-line printing to
  169.         facilitate reading.
  170.          
  171.              If the records exceed 78 characters total (for "pica" Type) 
  172.         or 94 characters total (for "elite" Type), each record will be 
  173.         printed as a unit, one field directly beneath another.  A more 
  174.         typical file is the sample included herein, "RECS,"  which lists 
  175.         and locates (by library file number) the author's phonograph 
  176.         records.  When the file is printed out, "elite" type is chosen 
  177.         so that two complete, computer records can fit on each line..
  178.          
  179.                   'l' is for look, and except for the fact that records 
  180.         appear one at a time on the screen, this option corresponds 
  181.         almost exactly with 'p.'  Here too, commands are heavily 
  182.         prompted for ease of use.  When employing 'l,' and after the 
  183.         computer presents a particular record, the user is given the 
  184.         opportunity to modify it or add to it as required.  If the user 
  185.         wishes to "delete" the record, he must answer "d" at this point 
  186.         -- followed by ENTER, of course.  The record will be deleted 
  187.         from the file in its entirety.  Note!  If the user chooses to 
  188.         delete a "field" (rather than a complete record), he can do so 
  189.         with the INS/DEL key, but he must restore the prompt "@."  
  190.         Failure to do so may result in file problems and possible loss 
  191.         of data.  All other aspects of "modifications" are explained 
  192.         fully in the screen prompts.
  193.          
  194.                   After completing this phase, the user is asked if he 
  195.         wishes to see the next record.  If he indicates yes, he will 
  196.         find that the "next" record follows the sequence established by 
  197.         its original entry; or -- if "sort" had been commanded -- 
  198.         according to the now sorted file.  This is convenient and makes 
  199.         'l' a very useful option.
  200.          
  201.                   '*' is the default character for our MENU.  Hitting 
  202.         ENTER simply cycles the computer back to the MENU.  However, 
  203.         there is an option available too. One may ask for a particular 
  204.         record here by putting in all or part of its "key" in answer to 
  205.         the prompt.  For example, if one wished to see Doe John'srecord, 
  206.         one might simply enter "Doe John."  Note the capitals.  If 
  207.         capitals were used when entering this record, capitals must be 
  208.         used in calling the record.  Alternately, one might enter "Doe" 
  209.         only, and providing there are no other names in the file 
  210.         beginning with "Doe," the proper record would appear on the 
  211.         screen.
  212.          
  213.          
  214.         LATER SESSIONS
  215.          
  216.              All that remains now is to review the method by which 
  217.         examination and re-entry are made to the file at some later 
  218.         session.  Command DB and note the following "RUN."
  219.          
  220.                   do you wish to create a file? n  (no)   ENTER
  221.          
  222.                   file name?  (test)   ENTER
  223.          
  224.                   which field is key?  1  (1)  ENTER
  225.          
  226.              One (1) is usual for the KEY field, since it normally 
  227.         represents "last name," but this program supports any choice.  
  228.         The program now takes over and after a short interval returns to 
  229.         the MENU.  The user may then proceed as indicated above.
  230.          
  231.          
  232.         SECURITY
  233.          
  234.              When a sizable amount of information has been posted to a 
  235.         file, one might justifiably feel badly if -- by some unfortunate 
  236.         chance -- the file were to be damaged or destroyed.  It might be 
  237.         useful, therefore, to copy your files to another disk at an 
  238.         appropriate time.  It takes but a few moments, and it's good 
  239.         insurance.  Note.  There are two MS-DOS files associated with 
  240.         each record file: one with ".REL" extension and one with ".DSC." 
  241.         Both must be transfered.
  242.  
  243.             MS Smartdrv.exe can present problems with storage and read
  244.         back programs.  Two batch files are recommended.  Assuming this
  245.         software is stored in the directory "c:\DBASE," the following is 
  246.         suggested:
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.         To activate DB --
  254.  
  255.                @echo off
  256.                cd\
  257.                c:
  258.                smartdrv c- a- b- (or with Stacker "on," smartdrv d- a- b-)
  259.                cd dbase
  260.                db
  261.                cls
  262.                cd\
  263.                smartdrv c+ a+ b-+ (or with Stacker "on," smartdrv d+ a+ b+)
  264.             
  265.           Save as batch\db.bat    To actuate, merely command "DB" at the
  266.           MS-DOS prompt.
  267.  
  268.  
  269.                                   GLOSSARY
  270.  
  271.         CHARACTER:       One letter or one digit.  One "character" is 
  272.         normally stored in one "byte" of computer memory.
  273.          
  274.         CURSOR:          A screen prompting signal.  This is a small 
  275.         vertical, lighted rectangle which indicates the point at which 
  276.         an entry will be made.   A "prompted" response (i.e., a suggested,
  277.         "reasonable" response) is sometimes placed under the cursor to aid 
  278.         the user.
  279.          
  280.         DEFAULT:         The name given to an option which is automatic, 
  281.         that is; if no option is chosen by the user, the program 
  282.         provides its own, called the "default" option.
  283.          
  284.         EDIT MODE:       The edit mode of a word processor is the mode 
  285.         in which the user Types in his text.
  286.                   
  287.         ELITE:           With Computers, this is taken to mean 12 
  288.         characters per inch or 96 characters per line.
  289.          
  290.         FIELD:           One line entry of a "record," limited in size 
  291.         (in DB) to 78 bytes.  Normally, the first two field are last and 
  292.         first name, followed perhaps by an address, telephone number, 
  293.         etc..
  294.          
  295.         FILE:            Normally, any program or software appearing on 
  296.         a disk drive.  A file could be text, binary code, etc..  When 
  297.         using "DB," a file is considered a complete store of "records."
  298.          
  299.         KEY FIELD:       A field in a record (in a data-base system), is 
  300.         described as a "key," if it is employed to identify a particular
  301.         record in a file.  Usually, the first field of a record is the 
  302.         key.  However, one might also "key" on a date (year) for tax 
  303.         purposes, etc..  DB has the capacity for employing any field as 
  304.         a key in any given session.
  305.          
  306.         PICA:            With computers, this is taken to mean 10 
  307.         characters (letters) per inch, or 80 characters per line.
  308.          
  309.         PROMPT:          An entry suggested by the program and put under 
  310.         the cursor. (See "cursor," above.)  If the "prompted" entry is 
  311.         acceptable, all one needs to do is hit ENTER (RETURN). 
  312.          
  313.         RECORD:          One complete entry in a "file" normally 
  314.         containing one or more "fields."  Records have the same meaning 
  315.         in computer files as they did in the old style, office filess.
  316.  
  317.         USER:            The name given to the person (or persons) who 
  318.         currently operate the program.
  319.          
  320.                                   End
  321.  
  322.         Direct corrections and/or suggestions to --
  323.          
  324.                            Alfred D'Attore
  325.                            CompuServe 75222,1254
  326.                            or
  327.                            1300 South Farm View Drive
  328.                            Apt. B-21
  329.                            Dover, Delaware 19904
  330.  
  331.